import Vue from 'vue';
import Vuex from 'vuex';

Vue.use(Vuex);

const store = new Vuex.Store({
  state: {
    vCode: null,
  },
  mutations: {
    getCode(state, payload) {
      state.vCode = payload;
    },
  },
});
export default store;
